Optimal. Leaf size=126 \[ \frac{3 b^3 \text{PolyLog}\left (2,-e^{2 \text{sech}^{-1}(c x)}\right )}{2 c^2}+\frac{3 b^2 \log \left (e^{2 \text{sech}^{-1}(c x)}+1\right ) \left (a+b \text{sech}^{-1}(c x)\right )}{c^2}-\frac{3 b \sqrt{\frac{1-c x}{c x+1}} (c x+1) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}-\frac{3 b \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.156583, antiderivative size = 126, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.583, Rules used = {6285, 5451, 4184, 3718, 2190, 2279, 2391} \[ \frac{3 b^3 \text{PolyLog}\left (2,-e^{2 \text{sech}^{-1}(c x)}\right )}{2 c^2}+\frac{3 b^2 \log \left (e^{2 \text{sech}^{-1}(c x)}+1\right ) \left (a+b \text{sech}^{-1}(c x)\right )}{c^2}-\frac{3 b \sqrt{\frac{1-c x}{c x+1}} (c x+1) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}-\frac{3 b \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6285
Rule 5451
Rule 4184
Rule 3718
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int x \left (a+b \text{sech}^{-1}(c x)\right )^3 \, dx &=-\frac{\operatorname{Subst}\left (\int (a+b x)^3 \text{sech}^2(x) \tanh (x) \, dx,x,\text{sech}^{-1}(c x)\right )}{c^2}\\ &=\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3-\frac{(3 b) \operatorname{Subst}\left (\int (a+b x)^2 \text{sech}^2(x) \, dx,x,\text{sech}^{-1}(c x)\right )}{2 c^2}\\ &=-\frac{3 b \sqrt{\frac{1-c x}{1+c x}} (1+c x) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3+\frac{\left (3 b^2\right ) \operatorname{Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\text{sech}^{-1}(c x)\right )}{c^2}\\ &=-\frac{3 b \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}-\frac{3 b \sqrt{\frac{1-c x}{1+c x}} (1+c x) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3+\frac{\left (6 b^2\right ) \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\text{sech}^{-1}(c x)\right )}{c^2}\\ &=-\frac{3 b \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}-\frac{3 b \sqrt{\frac{1-c x}{1+c x}} (1+c x) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3+\frac{3 b^2 \left (a+b \text{sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text{sech}^{-1}(c x)}\right )}{c^2}-\frac{\left (3 b^3\right ) \operatorname{Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text{sech}^{-1}(c x)\right )}{c^2}\\ &=-\frac{3 b \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}-\frac{3 b \sqrt{\frac{1-c x}{1+c x}} (1+c x) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3+\frac{3 b^2 \left (a+b \text{sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text{sech}^{-1}(c x)}\right )}{c^2}-\frac{\left (3 b^3\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 \text{sech}^{-1}(c x)}\right )}{2 c^2}\\ &=-\frac{3 b \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}-\frac{3 b \sqrt{\frac{1-c x}{1+c x}} (1+c x) \left (a+b \text{sech}^{-1}(c x)\right )^2}{2 c^2}+\frac{1}{2} x^2 \left (a+b \text{sech}^{-1}(c x)\right )^3+\frac{3 b^2 \left (a+b \text{sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text{sech}^{-1}(c x)}\right )}{c^2}+\frac{3 b^3 \text{Li}_2\left (-e^{2 \text{sech}^{-1}(c x)}\right )}{2 c^2}\\ \end{align*}
Mathematica [A] time = 0.867704, size = 219, normalized size = 1.74 \[ \frac{-3 b^3 \text{PolyLog}\left (2,-e^{-2 \text{sech}^{-1}(c x)}\right )+a \left (a \left (a c^2 x^2-3 b \sqrt{\frac{1-c x}{c x+1}} (c x+1)\right )+6 b^2 \log \left (\frac{1}{c x}\right )\right )-3 b^2 \text{sech}^{-1}(c x)^2 \left (b \left (c x \sqrt{\frac{1-c x}{c x+1}}+\sqrt{\frac{1-c x}{c x+1}}-1\right )-a c^2 x^2\right )+3 b \text{sech}^{-1}(c x) \left (a \left (a c^2 x^2-2 b \sqrt{\frac{1-c x}{c x+1}} (c x+1)\right )+2 b^2 \log \left (e^{-2 \text{sech}^{-1}(c x)}+1\right )\right )+b^3 c^2 x^2 \text{sech}^{-1}(c x)^3}{2 c^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.302, size = 343, normalized size = 2.7 \begin{align*}{\frac{{x}^{2}{a}^{3}}{2}}-{\frac{3\,{b}^{3} \left ({\rm arcsech} \left (cx\right ) \right ) ^{2}x}{2\,c}\sqrt{-{\frac{cx-1}{cx}}}\sqrt{{\frac{cx+1}{cx}}}}+{\frac{{x}^{2}{b}^{3} \left ({\rm arcsech} \left (cx\right ) \right ) ^{3}}{2}}-{\frac{3\,{b}^{3} \left ({\rm arcsech} \left (cx\right ) \right ) ^{2}}{2\,{c}^{2}}}+3\,{\frac{{b}^{3}{\rm arcsech} \left (cx\right )}{{c}^{2}}\ln \left ( 1+ \left ({\frac{1}{cx}}+\sqrt{-1+{\frac{1}{cx}}}\sqrt{1+{\frac{1}{cx}}} \right ) ^{2} \right ) }+{\frac{3\,{b}^{3}}{2\,{c}^{2}}{\it polylog} \left ( 2,- \left ({\frac{1}{cx}}+\sqrt{-1+{\frac{1}{cx}}}\sqrt{1+{\frac{1}{cx}}} \right ) ^{2} \right ) }-3\,{\frac{a{b}^{2}{\rm arcsech} \left (cx\right )}{{c}^{2}}}-3\,{\frac{a{b}^{2}{\rm arcsech} \left (cx\right )x}{c}\sqrt{-{\frac{cx-1}{cx}}}\sqrt{{\frac{cx+1}{cx}}}}+{\frac{3\,{x}^{2}a{b}^{2} \left ({\rm arcsech} \left (cx\right ) \right ) ^{2}}{2}}+3\,{\frac{a{b}^{2}}{{c}^{2}}\ln \left ( 1+ \left ({\frac{1}{cx}}+\sqrt{-1+{\frac{1}{cx}}}\sqrt{1+{\frac{1}{cx}}} \right ) ^{2} \right ) }+{\frac{3\,{x}^{2}{a}^{2}b{\rm arcsech} \left (cx\right )}{2}}-{\frac{3\,{a}^{2}bx}{2\,c}\sqrt{-{\frac{cx-1}{cx}}}\sqrt{{\frac{cx+1}{cx}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{3}{2} \, a b^{2} x^{2} \operatorname{arsech}\left (c x\right )^{2} + \frac{1}{2} \, a^{3} x^{2} + \frac{3}{2} \,{\left (x^{2} \operatorname{arsech}\left (c x\right ) - \frac{x \sqrt{\frac{1}{c^{2} x^{2}} - 1}}{c}\right )} a^{2} b - 3 \,{\left (\frac{x \sqrt{\frac{1}{c^{2} x^{2}} - 1} \operatorname{arsech}\left (c x\right )}{c} + \frac{\log \left (x\right )}{c^{2}}\right )} a b^{2} + b^{3} \int x \log \left (\sqrt{\frac{1}{c x} + 1} \sqrt{\frac{1}{c x} - 1} + \frac{1}{c x}\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (b^{3} x \operatorname{arsech}\left (c x\right )^{3} + 3 \, a b^{2} x \operatorname{arsech}\left (c x\right )^{2} + 3 \, a^{2} b x \operatorname{arsech}\left (c x\right ) + a^{3} x, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \left (a + b \operatorname{asech}{\left (c x \right )}\right )^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \operatorname{arsech}\left (c x\right ) + a\right )}^{3} x\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]